<template>
	<view class="dialog">
		<el-dialog :title="title" :visible.sync="dialogVisible" width="40%" :before-close="handleDialogClose">
			<!-- 用户审核 -->
			<el-form label-width="130px">
				<el-form-item label="账户名:" class="item">
					<view>{{ item.userName }}</view>
				</el-form-item>
				<el-form-item label="真实姓名:" class="item">
					<view>{{ item.realName }}</view>
				</el-form-item>
				<el-form-item label="联系电话:" class="item">
					<view>{{ item.phone }}</view>
				</el-form-item>
				<el-form-item label="联系邮箱:" class="item">
					<view>{{ item.email }}</view>
				</el-form-item>
			</el-form>
			<!-- <span slot="footer" class="dialog-footer">
				<el-button type="primary" @click="handleClose(1)" v-preventReClick>通过</el-button>
				<el-button type="danger" @click="handleClose(2)" v-preventReClick>拒绝</el-button>
				<el-button @click="handleClose(false)">返 回</el-button>
			</span> -->
		</el-dialog>
	</view>
</template>
<script>
	import {
		Request
	} from '../../model/request.js'
	import {
		Util
	} from '../../utils/util.js'
	// import {
	// 	config
	// } from "../../api/config.js";
	// import {
	// 	ServerUrl
	// } from "../../api/server_url.js";
	export default {
		props: {
			dialogVisible: '',
			title: {
				type: String,
				default: '账户信息'
			},
			item: {}
		},
		
		data() {
			return {
				
			}
		},
		
		methods: {
			handleDialogClose() {
				this.$emit('closeDialog')
			},
			
			async handleClose(e) {
				if (e == 1) { // 通过
					
				} else { // 取消
					this.handleDialogClose()
				}
			}
		}
	}
</script>
<style scoped>
	.dialog {
		/* width: 100%;
	height: 100%; */
		position: absolute;
		left: 0;
		top: 0;
	}

	.el-form-item {
		position: relative;
	}

	/* .el-form-item::before {
		content: '*';
		position: absolute;
		left: 100px;
		top: 13px;
		color: red;
	} */

	/deep/ .item .el-form-item__label {
		position: relative;
		/* left: -20px; */
		/* color: red;
		border: solid 1px red;
		margin-left: 30px; */
	}

	/deep/ .item .el-form-item__label::before {
		content: ' ' !important;
	}

	.photo {
		width: 299px;
		height: 200px;
	}
	
	.el-select {
		width: 100%;
	}
</style>
